import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

/**
 * @name 大屏数据接口
 */

// 获取Rpa饼图数据
export const getManYiDuListApi = (param: any) => {
  return http.post(PORT1 + `/manyidu/getBardata`, param, { loading: false });
};

export const getManYiDuExcApi = (param: any) => {
  return http.post(PORT1 + `/manyidu/getexceldata`, param, { loading: false });
};

export const getManYiDuApi = (param: any) => {
  return http.post(PORT1 + `/manyidu/getlist`, param, { loading: false });
};

export const getCountApi = (param: any) => {
  return http.post(PORT1 + `/manyidu/getcount`, param, { loading: false });
};

export const getCountyCountApi = (param: any) => {
  return http.post(PORT1 + `/manyidu/getcontycount`, param, { loading: false });
};

export const getGirdCountApi = (param: any) => {
  return http.post(PORT1 + `/manyidu/getgirdcount`, param, { loading: false });
};
